Multi-drive hot plug drive carrier

ABSTRACT

Disclosed are ways of providing a highly flexible high availability storage system. Disk drive carriers for insertion into enclosures in a storage system include several disk drives. The enclosures accept carriers that include drives of different sizes, and drives compatible with different storage technologies, for instance Fibre Channel, SATA, or SAS. Drives oriented in their carriers in a manner that allows them to be connected to a common medium via identical flex circuits that are configured based on the orientation of the drives. Redundant controllers include redundant serial buses for transferring management information to the carriers. The carriers include a controller for monitoring the multiple serial buses and producing storage technology specific management commands for the disk drives.

CROSS-REFERENCE TO RELATED APPLICATIONS

This patent application may be related to the following commonly-owned United States patent application, which is incorporated in its entirety by reference:

U.S. patent application entitled MIDPLANE-INDEPENDENT IMPLEMENTATIONS OF DATA STORAGE SYSTEM ENCLOSURES, Ser. No. 10/402,594, by Felton, filed Mar. 28, 2003.

FIELD OF THE INVENTION

The present invention relates generally to storage systems, and more particularly to a flexible architecture for providing a very large capacity, highly available storage system

BACKGROUND OF THE INVENTION

As storage technology improves, disk drives continue to become smaller and denser. In addition, various different disk drive storage technologies exist, for example Fibre Channel and SATA. Storage systems therefore continue to be re-designed in order to take advantage of the small, denser drives to provide systems offering larger amounts of storage space. Storage systems are also storage technology dependent, so different systems must be designed depending upon the disk drive technology used.

Disk drive densities have been rapidly increasing, but density increases are now slowing as technology limits are approached. Storage systems designers cannot therefore simply rely on density increases in order to provide increased storage space. Designers will need to find other means of increasing storage space.

In the meantime, for most uses to which such storage systems are put, it is very important that they be highly reliable so that critical data is not lost. “Highly available” storage systems are provided for this reason. High availability is provided, for example, by duplicating data across disks, and by making sure that cached data can be written back to disks in the event of a failure.

It would be advantageous to provide a storage system architected to take advantage of various different types of disk drive technologies and densities, and architected in a highly available manner.

SUMMARY OF THE INVENTION

In accordance with the principles of the invention, innovative apparatus and methods are employed to provide a highly flexible high availability storage system.

According to one aspect of the invention, a disk drive carrier is provided for insertion into enclosures in a storage system. A plurality of disk drives are disposed in the carrier, and the carrier is capable of supporting disk drives compatible with several different storage technology standards. For example, the carrier can include Fibre Channel compatible disk drives, or SATA compatible disk drives.

According to another aspect of the invention, a storage system includes a plurality of enclosures. Each enclosure is capable of containing a plurality of either a first disk drive carrier or a second disk drive carrier. The first disk drive carrier is capable of containing a first plurality of disk drives of a first size, and the second disk drive carrier is capable of containing a second plurality of disk drives of a second size. According to one embodiment, a carrier contains two 3.5 inch drives. According to another embodiment, a carrier contains six 2.5 inch drives. In either case, the drives may be of different storage technologies, for example Fibre Channel or SATA.

According to a further aspect of the invention, the disk drives are oriented within the carrier such that their connectors face each other. Flex circuits connect the drives to a common medium. The flex circuits are identical before use, but are configured into a shape dependent upon the position of the device with respect to the common medium. Cost savings are thereby achieved.

Furthermore, the flex circuits contain a signal layer and a ground layer, and a first flex circuit is connected such that its signal layer lies adjacent to an HDA cover plate on a disk drive. A second flex circuit is connected such that its signal layer lies adjacent to the ground layer on the first flex circuit, so that all signal layers are surrounded by ground layers. Effective EMI shielding is thereby conveniently provided.

According to another aspect of the invention, a disk drive carrier for insertion into an enclosure in a storage system includes a plurality of disk drives. However, the disk drive carrier includes just a single LED that indicates that one or more of the disk drives in the carrier has a fault. Cost savings are thereby achieved.

BRIEF DESCRIPTION OF THE DRAWINGS

In order to facilitate a fuller understanding of the present invention, reference is now made to the appended drawings. These drawings should not be construed as limiting the present invention, but are intended to be exemplary only.

FIG. 1 is a representation of a rack mount system including several storage enclosures.

FIG. 2A is an exploded view of a carrier that contains two 3.5 inch disk drives in accordance with the principles of the invention.

FIG. 2B is an assembled view of the carrier of FIG. 2A.

FIG. 3A is an exploded view of a carrier that contains six 2.5 inch disk drives in accordance with the principles of the invention.

FIG. 3B is an assembled view of the carrier of FIG. 3A.

FIGS. 4A and 4B are front and rear views of the disk drive enclosures of FIG. 1.

FIGS. 5A–5D are various views of a flex circuit showing bend lines.

FIGS. 6A and 6B are perspective views of the different flex circuit configurations that can be achieved based on how the bend lines are used.

FIG. 7 is a representation showing how two flex circuits and a disk drive EMI shield interact to provide EMI shielding for the signal microstrips in the flex circuit.

FIGS. 8A and 8B show a flex circuit connector pinout that provides further EMI shielding for the signal microstrips within the flex circuit.

FIG. 9 is a representation of the front of a disk drive carrier, showing the activity and fault LEDs.

FIG. 10 is a representation of several disk drives forming a LUN.

FIG. 11 is a representation of the use of a spare disk drive to repair a LUN.

FIG. 12 is a general schematic of the circuit board within the carrier that connects the disk drives to the midplane within the enclosure.

FIG. 13 is a schematic representation of a fibre channel version of the circuit board shown in FIG. 12.

FIG. 14 A–C are representations of registers within the microcontroller on the circuit board of FIG. 13.

FIG. 15 is a schematic representation of a SATA version of the circuit board shown in FIG. 13.

FIG. 16 is a representation showing the midplane connector pinout for both FC and SATA configurations.

FIG. 17 is a schematic representation of the I2C buses on the link control cards, showing how they are connected to the carriers in the enclosure.

FIG. 18 is a schematic representation of the I2C buses and reset signals on the carrier circuit board.

FIG. 19 is a representation of the partitioning of the memory space in the microcontroller on the carrier circuit board.

DETAILED DESCRIPTION OF EXEMPLARY EMBODIMENTS

Referring to FIG. 1, there is shown an example of a storage system 10 in which the present invention may be employed. A rack mount cabinet 12 includes several storage enclosures 14. Each storage enclosure 14 is preferably an EIA RS-310C. 3U standard rack mount unit. In accordance with the principles of the invention, each storage enclosure 14 has installed therein several disk drive carriers 16, each carrier 16 including several disk drives 18. In FIGS. 2A and 2B and 3A and 3B there are shown preferred embodiments of the disk drive carriers 16. A carrier 16 may include two 3.5 inch disk drives 18 as shown in FIGS. 2A and 2B. Or, a different carrier 16 may include six 2.5 inch disk drives 18, as shown in FIGS. 3A and 3B. Further in accordance with the principles of the invention, the disk drives 18 may be compatible with any low voltage differential signaling (LVDS) storage technology. For example, the disk drives 18 may be Fibre Channel disk drives, or they may be Serial Advanced Technology Attachment (SATA) disk drives, or they may be Serial Attached SCSI (SAS) disk drives. Though serial channel technologies are preferred, the invention does not preclude the use of parallel technology. A highly flexible storage system architecture is thereby provided, wherein the architecture is independent of disk size and technology. Thus, as disk sizes decrease, capacities increase, and new storage technologies emerge, the same storage system chassis and architecture can be used with the new disks. Furthermore, because each carrier 16 is capable of including several disk drives, very large amounts of storage space are provided. In the embodiment shown, each storage enclosure 14 is capable of supporting fifteen carriers 16, and up to eight enclosures 14 can be included in a rack mount system 10. If two 3.5 inch disk drives are included per carrier, a system 10 can include 240 drives 18. If six 2.5 inch disk drives are included per carrier, a system 10 can include 720 drives 18. Several systems 10 can be cascaded to provide petabytes of storage space. This embodiment is shown by way of example only, as the invention is not limited to any particular number of disk drives, carriers, or enclosures.

More particularly, referring to FIG. 2A, in accordance with a first embodiment two 3.5 inch disk drives 18 are installed horizontally within the carrier 16 between a top rail 20 and a bottom rail 22. A circuit board 24, herein referred to as a paddle board, connects the drives 18 to a midplane (shown in FIG. 6) via two flex cables 26.

Referring to FIG. 3A, in accordance with a second embodiment six 2.5 inch disk drives are installed vertically between a top rail 32 and a bottom rail 34. Three drives 18 are installed on one side of the carrier 16, while the other three drives 18 are installed on the other side of the carrier 16, back-to-back with the first three. As in the embodiment of FIG. 2, a paddle board 24 connects the drives 18 to the midplane 38.

In FIGS. 4A and 4B there are shown front and rear views of the enclosure 14 respectively. The carriers 16 slide into the front of the enclosure 14 to connect to a midplane 38. Two power supplies 40 and two circuit boards 42 reside in the back of the enclosure 14, and are coupled to the carriers 16 via the midplane 38. The circuit boards 42 reside above and below the power supplies 40. The circuit boards 42 may be either storage processors 44 (SPs) or link control cards 46 (LCCs). Typically, one of the enclosures 14 in the system contains SPs 44, which provide certain system control functions. The rest of the enclosure 14 contain LCCs 46. The LCCs 46 serve to interconnect the disks 18 and enclosures 14 onto the chosen channel technology. The embodiment herein shown includes fifteen drive carriers 16, though more or fewer could be included without departing from the principles of the invention. Data and management signals cross the midplane 38 between the SPs 44 or LCCs 46 and the drives 18. The signals that cross the midplane 38 are storage technology agnostic—that is, they are not dependent upon whether the installed drives are for example fibre channel (FC), or SATA, or SAS, etc. According to one embodiment, the LCCs 46 interconnect the disk drives 18 and enclosures 14 on a Fibre Channel Arbitrated Loop (FC-AL). According to another embodiment, the LCCs 46 interconnect the drives 18 and enclosures 14 onto a SATA channel. According to a third embodiment, the LCCs 46 interconnect the drives 18 and enclosures 14 onto a SAS channel.

In an alternate embodiment, the carriers 16 are directly connected to the SPs 44 or LCCs 46 such that the midplane 38 is not required.

The system 10 shown in FIG. 1 is a Highly Available storage system. Therefore, two power supplies 40, and two SPs 44 or LCCs 46 are provided in each enclosure 14 for fault tolerant purposes. Other inventive steps are taken throughout the system 10 to support high availability, as will be further described.

As previously described, in one embodiment the drive carrier 16 can house two disk drives 18. Referring back to FIG. 2, in accordance with an aspect of the invention, the two disk drives 18 are oriented in opposite directions. In the example shown, the disk drive 18 closest to the paddle board 24 is oriented such that its component side 48 is on the right (not visible), its HDA cover plate 50 is on the left, and its connector 52 faces the rear. The other drive 18 is oriented such that its component side 48 is on the left, its HDA cover plate 50 is on the right (not visible), and its connector 52 faces the paddle board 24. This orientation is highly advantageous when connecting the drives 18 to the paddle board 24 via flex cables 26. Because of the orientation of the disk drives 18 within the carrier 16, the same flex cables can be used to connect both drives to the paddle board 24. Note that, were the drives 18 not oriented as shown, the flex cables 26 would need to be of different lengths. But because of the shown drive orientation, the flex cables 26 are of the same length and connector configuration. This is highly advantageous in a production environment, because only one part number needs to be ordered and spared, and reduction in part numbers reduces the overall cost of the system. It is also advantageous in that consistent signal quality is provided for the high speed signals because all the signals are the same length. Furthermore, this aspect of the invention can be broadly applied in any system wherein multiple devices are plugged into the same bus or channel. For example, the invention could be applied to a carrier including multiple flash memory modules, or multiple CD drives, etc.

More particularly, the flex circuit 26 is configured into an arrangement that depends upon which drivel 8 the flex circuit 26 is connected to. As shown in FIG. 5, the flex circuit 26 includes an LGA stacking connector 56 on one end for connecting the flex circuit 26 to the paddle board 24. The flex circuit 26 includes an SCA2 connector 58 at the opposite end for connecting the flex circuit 26 to a disk drive 18. The flex circuit 26 includes multiple bend lines 60. If the flex circuit is to be connected to the drive 18 closest to the midplane 38, it is bent at the bend lines 60 as shown in FIG. 5B to produce the configuration shown in FIG. 6A, wherein the SCA2 connector 58 faces the front drive connector. If the flex circuit 26 is to be connected to the drive 18 farthest from the midplane 38, it is bent at the bend lines 60 as shown in FIG. 5D to produce the configuration shown in FIG. 6B, wherein the SCA2 connector 58 faces the rear drive connector, and the LGA stacking connector 56 fits next to the LGA stacking connector 56 on the other flex cable 26.

In accordance with a further aspect of the invention, referring back to FIG. 2B, the flex circuits 26 traverse the front disk drivel 8 along the HDA cover plate 50 of the disk drive 18. This provides several advantages. First of all, if the flex circuits 26 were to be run across the component side 42 of the drive, the flex circuits 26 would limit air flow to the components, possibly causing thermal problems. By running the flex circuits 26 across the HDA cover plate 50 of the drive 18, deleterious component thermal issues are avoided. In a preferred embodiment, the flex circuits 26 are bonded to the HDA cover plate 50

Furthermore, the metal HDA cover plate 50 on the disk drive 18 also acts as an EMI shield for the flex cables 26. Referring to FIG. 7, it can be seen that the flex circuit 26 is constructed of two layer PCB. One layer consists of signal microstrips 62, while the other consists of a ground plane 64. The first flex circuit 26 is arranged such that the signal microstrips 62 faces the disk drive HDA cover plate 50. Thus, the signal microstrips 62 are sandwiched between the disk drive HDA cover plate 50 and the ground plane 64 in the flex circuit 26. The second flex cable 26 is arranged such that the signal microstrips 62 face the first flex circuit 26. Thus, the signal microstrips 62 on the second flex circuit 26 are sandwiched between the ground plane in the first flex cable 26 and the ground plane in the second flex cable 26. All the signal microstrips 62 are thereby sandwiched between ground planes, thereby maximizing EMI shielding for the signals.

According to a further aspect of the invention, the pinout pattern on the flex circuit connectors help to provide EMI shielding for the high speed differential data signals. Referring to FIG. 8, the LGA stacking connector 56 on the end of the flex circuit 26 that connects to the paddle board 24 is conveniently implemented as an Intercon C-stacker style connector with 75 pins, 5 pins tall by 15 pins wide. The connector 58 on the other end of the flex circuit 26 that attaches to the drivel 8 is an SCA2 connector. Shown is one layer of signal microstrips 62. The connector 56 pinout is arranged so that differential pair signals are next to each other and surrounded by ground signals, so that ground microstrips 64 surround the differential pair signal microstrips 66 down the length of the flex circuit 26.

According to another aspect of the invention, LED indicators are provided on the carrier to indicate drive activity and drive faults. In currently known systems wherein a carrier includes only one disk drive, one activity LED and one fault LED are provided, so that for each drive, one can tell by looking at the carrier whether the drive is active, and whether the drive has suffered a fault. However, in a system as arranged in accordance with the principles of the invention, a carrier includes at least two disk drives, which might lead a designer to include two activity LEDs and two fault LEDs on the carrier. Counter intuitively, only a single fault LED is a provided. In FIG. 9, the front of the carrier 16 is shown to include two activity LEDs 68 and one fault LED 70. The single fault LED 70 is effective because the carrier including the two disk drives is treated as a single field replaceable unit (“FRU”). That is, when one of the drives 18 or the paddle card 24 in the carrier 16 fails, the entire carrier 16 including both drives 18 is eventually replaced as a single unit. So, a single fault LED 70 is provided to indicate that one of the two drives 18 or the paddle card 24 has failed and that the carrier 16 including both drives 18 should eventually be replaced. By eliminating the need for two LEDs, valuable space on the carrier 16 is conserved, and the cost of the carrier 16 and of the overall system 10 is reduced. Note also that, for the other preferred embodiment wherein the carrier 16 includes six disk drives 18, again only a single fault LED 70 is provided on the carrier 16 for the same reason.

More particularly, referring to FIGS. 12, 13, and 15, the fault LED 70 and activity LEDS 68 are shown schematically as they connect between the midplane 38 and the drives 18. FIG. 12 shows generally the manner in which the paddle board 24 connects the drives 18 to the midplane 38. FIG. 13 is a more detailed view of the paddle board as it connects FC drives 18 to the midplane 38. FIG. 15 is a more detailed view of the paddle board as it connects SATA drives 18 to the midplane 38. As shown, each activity LED 68 is driven directly by a corresponding drive 18. The fault LED 70 is driven by the LCC 46 onto the paddle board 24 via the midplane connectors 71. A Fault signal 69 feeds a light pipe to light the fault LED 70 on the front of the carrier 16. In the FC configuration shown in FIG. 13, note that each drive 18 has a fault line 100 a,b driven to a microcontroller 80. When the microcontroller 80 senses the assertion of the fault line from either drive, it drives one of the interrupt lines Interrupt A,B back across the midplane 38 to the LCCs 46. One of the LCCs 46 asserts the Fault signal 69 in response, causing the fault LED 70 to light. Alternatively, the LCCs 46 can poll the microcontroller 80 to ascertain whether any of the fault line 100 a,b signals are asserted. In addition, the LCCs 46 can assert the Fault signal 69 on their own based on information gathered, such as error rates, etc., rather than in response to the Interrupt lines from the microcontroller 80. In fact, in the SATA configuration shown in FIG. 15, the LCCs 46 are responsible for asserting the Fault line 69.

In today's known storage systems, when a disk drive fails, it is replaced immediately. In accordance with another aspect of the invention, the need to replace failed disk drives immediately is eliminated. The invention takes advantage of the density of disk drives in the system. The ability to provide up to 30 3.5 inch drives 18 or up to 90 2.5 inch drives 18 per enclosure 14, and up to 8 enclosures per system 10, results in a very, very large amount of storage space, particulary when similar systems 10 are cascaded together. So, certain installed drives 18 can act as spares. In accordance with the invention, when a disk drive 18 fails, its contents are re-built on one of the spare drives 18, and its replacement is deferred. The invention thus enables the deferral of system maintenance, providing an entirely new service model. Maintenance can now be scheduled in a predictable manner. Furthermore, a maintenance mode can be provided wherein data is de-fragmented to clean up the failed drives 18. Ultimately, as the drives 18 become smaller and cheaper, enough spares are available to provide a maintenance-free system.

More particularly, referring to FIG. 10, data is stored across sets of disks 18 herein referred to as logical units (“LUNs”). Data is stored across a LUN in any of a number of known fault tolerant manners, for example RAID 0–10 or parity, so that if a disk drive in a LUN fails, the data contained thereon can be recovered from the remaining disks in the LUN. In the particular implementation shown, a particular LUN 72 consists of five disk drives 18. Data is stored on 4 drives, while parity is stored on a fifth drive. If any of the five drives in the LUN 72 fails, any lost data can be re-built from the data contained on the other four drives. Assume disk drive 74 fails. In this case, as shown in FIG. 11, a spare disk drive 76 is found, and the data from the four operational drives in the LUN 72 is used to rebuild the failed drive 74 onto the spare drive 76. According to a further aspect of the invention, the amount of available spare space is tracked. As spare disk space is used, if the amount of spare space left falls below a threshold, then the system signals that maintenance is required.

In accordance with another aspect of the invention, there are provided mechanisms to allow the storage system architecture to be storage technology agnostic. As was previously mentioned, the drive carrier 16 can contain any type of disk drive 18, for example FC drives or SATA drives, because the signaling provided to the carrier 18 is storage technology agnostic. More particularly, referring to FIG. 12, high speed data signals 82 a,b and low speed management signals 84 a,b are provided from the two LCCs, across the midplane, to the paddle board 24. A microcontroller 80 on the paddle board 24 converts the low speed management signals 84 a,b into storage technology specific management signals 86 a,b. More specifically, four technology agnostic signals are passed between the microcontroller 80 and each LCC 46—a reset signal 88 a,b, an interrupt signal 90 a,b, and two low speed serial bus signals 92 a,b. The serial bus signals are decoded by the microcontroller 80 and re-encoded into storage technology specific signals 86 a,b.

According to one implementation, the serial bus signals 92 a,b are I2C bus signals. I2C is a well-known serial bus protocol, the operation of which is described in “The I2C-Bus Specification Version 2.1”, from Philips Semiconductors. The microcontroller converts the I2C bus signals 92 a,b into either fibre channel management signals or SATA management signals, depending upon which type of drives 18 are installed in the carrier 16.

Referring to FIG. 13, the schematic shows the microcontroller 80 on the paddle board 24 as it is connected between the two drives 18 on the carrier 16 and the midplane connectors 56 when the carrier contains FC drives. Each LCC 46 drives, across the midplane 38, two sets of fibre channel data signals 82 a,b, herein labeled FC A DISK 1, FC A DISK 0, FC B DISK 1, and FC B DISK 0. Each disk drive 18 includes two fibre channel signal interfaces, so the FC A DISK 1 and FC B DISK 1 signals are driven directly to one disk drive, while the FC A DISK 0 and FC B DISK 0 signals are driven directly to the other disk drive. The other disk drive interface signals are coupled to the microcontroller. For the disk drive 18 labeled “Disk 1”, these signals include DR1_INS (94 a) which indicates to the microcontroller 80 that the drive 18 is present; PWR_DN1 (96 a), which controls power to the drive 18; DEV_CTL_(—)1 <2:0> (98 a), used to control such things as drive speeds and hard reset sequences; FAULT_(—)1 (100 a), which indicates to the microcontroller 80 that a fault has occurred on the drive 18; STARTS_(—)1<1:0> (102 a), signals controlling drive power-up; and Sel_ID_(—)1<6:0> (104 a), used for management and drive addressing. The Bypass 1A/1B signals are driven directly from the drives 18 to the LCCs 46 and provide an indication to the LCCs 46 as to whether the drives 18 are bypassed on the FC-AL. For the disk drive 18 labeled “Disk 0”, the same disk drive interface signals are coupled to the microcontroller, the signal names labeled “0” instead of “1”, and like reference numbers labeled “b” rather than “a”. When referring to like signals for both drives, “X” is used: for example, SEL_ID_X refers to both the SEL_ID_(—)0 AND SEL_ID_(—)1 signals. On the midplane side, the two sets of I2C signals 92 a,b, the two RESET signals 88 a,b, and the two INTERRUPT signals 90 a,b, are connected to the microcontroller, one for each LCC 46.

Fibre Channel systems are often managed in accordance with an industry standard enclosure management protocol known as SFF-8067, described in detail in “SFF-8067 Specification for 40-pin SCA-s Connector w/Bidirectional ESI”. This protocol is used primarily in JBOD (“just a bunch of disks”) environments, for managing the storage system via the Fibre Channel connection. (SFF-8067 is a follow-on to SFF-8045, thus the implementation described herein is equally applicable to SFF-8045 managed systems.) When SFF-8067 commands are being responded to, disk drives 18 drive the SEL_ID_X<6:0> lines for enclosure management purposes. When SFF-8067 commands are not being issued, the SEL_ID_X<6:0> lines are used to provide disk drive addresses in accordance with the Fibre Channel Arbitrated Loop protocol.

SFF-8067 responses from the drives 18 are decoded by the microcontroller 80 and driven onto the I2C buses 92 a,b back to the LCC 46. Other management commands from the LCCs 46 are driven over the I2C busses and decoded by the microcontroller to drive the device control lines DEV_CTL_X<2:0>, the power control line PWR_DN_X, and the STARTS_X control signals.

According to one implementation, the LCCs 46 communicate with the microcontroller 80 via command, and status registers. These registers are shown in FIG. 14. After power up, the microcontroller 80 awaits an initialization command from either LCC 46. The initialization command 106 contains a system ID, an enclosure ID, a controller ID, a slot ID, a loop ID, and loop speed. In accordance with an aspect of the invention, this information is decoded by the microcontroller 80 to determine drive spin-up method and to determine drive ALPA addresses. For instance, if the system ID indicates one type of system, the STARTS_X<1:0> are driven to cause the drive motor to spin up. If the system ID indicates another type of system, the STARTS_X<1:0> are driven to cause the drive motor to wait for a SCSI command before spinning up. Alternately, the STARTS_X<1:0> bits may be driven based on enclosure ID. The drive STARTS_X<1:0> are thus under complete software control. The enclosure ID and slot ID together determine the ALPA of the two drives in the carrier 16, so the SEL_ID_X<6:0> lines are asserted accordingly. The loop speed information is used to drive the DEV_CTL_X<2:0> bits to the drives to inform the drives of their speed configuration. Depending on the loop speed information received by the microcontroller 80, the DEV_CTL_X<2:0> bits will be encoded by the microcontroller 80 to indicate that the drives 18 should run at one, two, or four Ghz link rate. Once these drive configurations are complete, the microcontroller 80 awaits other commands from the LCCs 46 and maintains drive status registers.

The command register 108 is shown in FIG. 14. Commands are issued by LCCs 46 to the microcontroller 80 based on an opcode. In the current example, the opcode is a three bit register field. As shown, the opcode is decoded by the microcontroller 80 to drive the PWR_DNX and RESET lines to the drives 18. For example, upon receipt of a command from an LCC with an opcode of 001 and the drive 1 and drive 0 bits set, both PWR_DNX lines are driven to power up both drives. In addition, opcodes can be decoded by the microcontroller 80 to indicate a speed change, in which case the microcontroller drives the DEV_CTL_X<2:0> lines to one or both drives 18 to indicate the new speed. Opcodes can also be decoded to cause the microcontroller to drive the DEV_CTL_X<2:0> lines in a sequence to issue a hard reset to one or both drives 18. Opcodes can further be decoded to cause the microcontroller 80 to “block” one of the LCCs 46. When an LCC 46 is blocked, the microcontroller 80 ignores the inputs from the blocked LCC 46. This command is used for fault tolerant purposes as will be further described. Opcodes can also be issued by the LCCs 46 to cause the microcontroller to read status registers or clear the command register.

The LCCs 46 monitor drive state and command status by reading status registers. There are four types of status registers: drive status registers 110, command status registers 112, system status register 114, and poll response status register 116. As shown, two drive status registers 110 are provided, one per drive 18. The drive status registers latch the state of signals from and to the drives, including: DRX_INS, FAULT_X, PWR_DN_N, STARTS_X<1:0>, DEV_CTL_X<2:0>, and SEL_ID_X<6:0>. Drive status registers can be read by the LCCs 46 to evaluate drive state.

Command status registers 112 are used by the LCCs 46 to check the status of commands issued by either LCC 46 to the microcontroller 80. One command status register 112 contains hard reset command status. Another command status register 112 contains power control command status. When any drive power control related command or drive hard reset command is issued, these registers are updated accordingly. When any of the bits in these registers change, the !CLEARED bit is asserted to indicate a change. In particular, the command status registers encode the following: ISSUED_TO_DRIVE<2:0>, indicating the respective drive that was affected by the command; ISSUED_BY_LCCx, indicating the ID of the LCC that issued the command; COMMAND_SUCCESS, indicating that a legal command was successfully completed; and POWER_STATUS<1:0>, encoding current power state. A last command issued register can be read by an LCC 46 to ascertain the last command sent by either LCC to the microcontroller 80. This is advantageous when one LCC 46 has issued a command, and needs to know if the other LCC 46 has issued a subsequent command.

System status registers 114 encode system information as shown. Some of this information is received by the microcontroller upon initialization by an LCC. The information includes Loop and System ID, Enclosure and Slot ID, Interrupt line status, and code version information.

A poll response status register 116 is provided to indicate whether the contents of any of the previously described status registers has been changed by the microcontroller. An LCC need only poll this bit to see if any status registers have been changed, thus avoiding the need to poll the entire status register bank.

Referring to FIG. 15, the schematic shows the microcontroller 80 on the paddle board 24 as it is connected between the two drives 18 on the carrier 16 and the midplane 38 when the carrier 16 contains SATA drives. In this case, two sets of SATA data signals 118 a,b are driven from each midplane connector 71, on the same pins that are used for the FC data signals in the FC configuration. However, the SATA disk drive connectors 58 provide only a single set of data signals. So, 2:1 multiplexers 120 a,b are provided to multiplex the SATA signals from the midplane connectors 71 down to two sets of data signals 122 a,b one per disk drive 18. 5 and 12 volt power is also provided to the drives 18. The drives indicate their presence to the microcontroller 80 via the DRX_INS signals. The microcontroller 80 monitors the DRX_INS signals and receives Requests from the LCCs 46 on Request lines 124. In response to the requests, the microcontroller 80 drives the PWR_DNX signals to control logic 126 a,b for providing 5 and 12 volt power to the drives 18 in particular configurations in accordance with the SATA standard. The microcontroller 80 drives Grant signals 128 back to the LCCs 46 to indicate completion of requests.

In accordance with another aspect of the invention, the midplane connector 71 pinout is storage technology agnostic. That is, the same midplane connectors 71 are used to couple the LCCs 46 to the microcontroller 80 and disk drives 18, regardless of whether the disk drives 18 are FC, STA, or SAS compatible. Referring to FIG. 16, the midplane connector 56 pinout is shown for both FC and SATA configurations. Note that in the SATA configuration, the pins used for the Request and Grant lines are used for spares and Bypass signals in the FC configuration.

As previously mentioned, the two LCCs 46 provide redundancy, and therefore high availability, for the enclosure 14. It is important to minimize or eliminate all single points of failure in the storage system 10. Various aspects of the invention contribute to high availability of the I2C buses toward this end.

Referring to FIG. 17, the routing of the two I2C buses between the LCCs 46 and the carriers 16 is shown. As can be seen, 15 I2C buses 130 are routed between each LCC 46 across the midplane 38 to each carrier 16, where they interface to the microcontroller 80 on the carrier paddle board 24 as previously described. However, it is impractical and cost ineffective to provide 15 I2C master controllers on each LCC 46 to control each bus. A designer might choose to use one I2C bus and controller on the LCC 46 and de-multiplex it into 15 separate I2C buses. This is feasible because an LCC 46 only communicates with one drive 18 at a time. However, if a short or open were to occur on one LCC 46, or on a drive 18, then the other LCC 46 can be brought down. In order to avoid the possibility for this single point of failure, two I2C buses 132 a,b are provided on each LCC 46, and two master I2C controllers 134 a,b are provided as well. Thus, if one I2C bus, for example I2C bus 132 a, malfunctions on one LCC 46, the other LCC 46 can use the other I2C bus 132 b to remain operational. A watchdog timer 136 monitors activity from the master I2C controllers 134 a,b. If no activity occurs within a certain amount of time, the watchdog timer trips isolation switches 138 to disconnect the I2C buses 132 a,b from the midplane 38 and the other LCC 46. In addition, the I2C bus output 135 a,b from the master controllers 134 a,b are input to a 15 port switch 140. Each of the 15 outputs drives one of the I2C buses 92 a,b to each carrier 16. Though a demultiplexer could be effectively used, use of a switch 136 instead of a demultiplexer provides improved signal isolation in the event of a bus fault. The switch Referring back to FIG. 12, as was previously described, the microcontroller 80 on the paddle board 24 interfaces to two I2C buses 92 a and 92 b-one from each LCC 46. Only one I2C bus 92 a or 92 b is expected to be driven at a time, allowing the use of a single software based slave controller 80. The two I2C buses 92 a and 92 b are therefore wire-ored together to appear as one I2C bus to the microcontroller 80. Several further steps are taken here to provide high availability. First of all, referring to FIG. 18, the microcontroller 80 monitors the functionality of the two I2C busses 92 a and 92 b via signal paths 140 a and 140 b. Isolation switches 142 a and 142 b are provided on each bus 92 a and 92 b. If the microcontroller 80 senses that one bus has malfunctioned, the isolation switches for that bus are opened, so that the other bus remains operational. For example, if the microcontroller 80 senses via signal path 140 a that I2C bus 92 a has malfunctioned, the microcontroller 80 will cause the isolation switches 142 a to open, so that the I2C bus 92 b remains operational. Secondly, the two reset signals are wire-ored together as well. Isolation switches 144 a and 144 b are provided on these signals as well. When one of the reset signals is asserted, the microcontroller monitors the length of time that the reset signal is asserted, If the time the signal is asserted exceeds an allowable window, this serves as an indication that the reset signal is wedged. The isolation switch is opened in response, so that the other reset signal remains operational. For example, if Reset signal 88 a is wedged, the microcontroller 80 will sense that the Reset signal 88 a has been asserted for a time period that exceeds the allowable window, and will in response open the isolation switch 144 a to isolate the Reset signal 88 a from the Reset signal 88 b. The Reset signal 88 b thus remains operational. Isolation switches 142 a,b and 144 a,b could be implemented as components outside the microcontroller 80, or may be implemented within the microcontroller 80.

As previously mentioned, the microcontroller 80 can be programmed by one LCC 46 via a command register 108 to block the other LCC 46. One way this may occur is, if the microcontroller senses that an I2C bus, for example I2C bus 92 a, is wedged, the microcontroller will assert the Interrupt line 90 b to alert the other LCC 46 of the failure. The properly functioning LCC 46 can then send a command to the microcontroller 80 command register to block the failed LCC 46 from issuing commands to the microcontroller 80. From that point on, the microcontroller 80 will ignore commands from the failed LCC 46 until it receives an unblock command.

In accordance with another aspect of the invention, the software microcontroller 80 is taken advantage of to provide further functionality normally provided by separate hardware. Cost and space savings are thereby achieved. In storage systems 10 as shown in FIG. 1, each FRU in the system includes a persistent memory (NVRAM) device herein referred to as a Resume PROM. The Resume PROM could be a Non-Volatile Random Access Memory (NVRAM), a disk device, a flash EEPROM, or any type of media that does not lose data while powered down. The persistent memory stores characteristic data that is considered to be critical to operation and/or maintenance of the FRU and the storage system 10. Because a software microcontroller 80 is used on the carrier as an I2C controller, it can be configured such that part of its flash memory space can serve as the Resume PROM. Referring to FIG. 19, there is shown the memory space as partitioned within the microcontroller, wherein the top 4K (148) serves as the Resume PROM. Of course, the partitioning can change depending upon design constraints, without departing from the principles of the invention.

Furthermore, two separate execution code spaces (150, 152) are provided within the software microcontroller. This is advantageous when upgrading the executable code. A running copy of the execution code can reside in one execution space, while an upgraded copy can reside in the other execution space. The latest version of code can be identified in a boot block. Upgrades can then be performed by simply switching between executable spaces on the fly. Furthermore, an executable could be provided to update the boot block area (154) of the microcontroller.

The present invention is not to be limited in scope by the specific embodiments described herein. Indeed, various modifications of the present invention, in addition to those described herein, will be apparent to those of ordinary skill in the art from the foregoing description and accompanying drawings. Further, although the present invention has been described herein in the context of a particular implementation in a particular environment for a particular purpose, those of ordinary skill in the art will recognize that its usefulness is not limited thereto and that the present invention can be beneficially implemented in any number of environments for any number of purposes. 

1. Apparatus for a storage system, the storage system being capable of including multiple enclosures containing disk drives, the apparatus comprising: a disk drive carrier for containing two disk drives, the disk drive carrier being mountable within an enclosure in the storage system, the disk drives being Fibre Channel compatible, wherein the disk drives are oriented such that the sides of the disk drives on which fibre channel connectors are disposed face each other, wherein the disk drives are connected to a medium via flex circuits, and wherein the flex circuits are identical prior to use, and wherein the flex circuits are pre-configured into different shapes based upon the positions of the fibre channel connectors to connect the drives to a common medium, wherein the flex circuits contain a signal layer and a ground layer, wherein a first flex circuit is connected such that its signal layer lies adjacent to an HDA cover plate on a disk drive, and wherein a second flex circuit is connected such that its signal layer lies adjacent to the ground layer on the first flex circuit so that all signal layers are surrounded by ground layers.
 2. Apparatus for a storage system as in claim 1 wherein the signal layer of the first flex circuit is configured to derive electromagnetic shielding from the HDA cover plate on the disk drive and the ground layer of the first flex circuit; and wherein the signal layer of the second flex circuit is configured to derive electromagnetic shielding from the ground layer of the first flex circuit and the ground layer of the second flex circuit.
 3. A method for use in a storage system, the storage system being capable of including multiple enclosures containing disk drives, the method comprising the steps of: providing a disk drive carrier for containing two Fibre Channel compatible disk drives, the disk drive carrier being mountable within an enclosure in the storage system; orienting the disk drives within the carrier such that the sides of the disk drives on which Fibre Channel connectors are disposed face each other: providing a plurality of flex circuits that are identical prior to use; configuring the flex circuits into different shapes based upon the positions of the Fibre Channel connectors; connecting the drives to a common medium via the flex circuits, wherein the flex circuits contain a signal layer and a ground layer; connecting a first flex circuit such that its signal layer lies adjacent to an HDA cover plate on a disk drive; and connecting a second flex circuit such that its signal layer lies adjacent to the ground layer on the first flex circuit, so that all signal layers are surrounded by ground layers.
 4. A method as in claim 3 wherein, when the first and second flex circuits are installed within the storage system and are substantially adjacent to each other, (i) the signal layer of the first flex circuit is disposed between the HDA cover plate on the disk drive and the ground layer of the first flex circuit and (ii) the signal layer of the second flex circuit is disposed between the ground layer of the first flex circuit and the ground layer of the second flex circuit.
 5. A method as in claim 3 wherein connecting the first flex circuit includes: forming at least a portion of an electromagnetic shield around the signal layer of the first flex circuit using the HDA cover plate on the disk drive and the ground layer of the first flex circuit; and wherein connecting the second flex circuit includes: forming at least a portion of another electromagnetic shield around the signal layer of the second flex circuit using the ground layer of the first flex circuit and the ground layer of the second flex circuit.
 6. A method as in claim 3 wherein connecting the first flex circuit includes: disposing the signal layer of the first flex circuit between the HDA cover plate on the disk drive and the ground layer of the first flex circuit; and wherein connecting the second flex circuit includes: disposing the signal layer of the second flex circuit between the the ground layer of the first flex circuit and the ground layer of the second flex circuit. 